package com.fzrskj.cloud.free.core.tool;

import com.alibaba.fastjson.JSONArray;

import java.util.List;


public class YJsonTool {
    public static String listBeanToJson(List<?> objs){
        if (objs == null) {
            return null;
        } else {
            try {
                return JSONArray.toJSON(objs).toString();
            } catch (Exception var2) {
                return null;
            }
        }
    }
}
